import qs from 'Qs';
export default {
    state:{
        buydata:{Id:"",type:"",quantity:""}
    },
    mutations:{
        setBuydata (state,values) {
            // state.buydata = qs.stringify(values);
            state.buydata = values;
        }
    },
    actions:{
        actionBuydata ({commit},values) {
            console.log(values);
            commit('setBuydata',values);
        }
    }
}